<div class="listing">

  <h3><%= "Options for #{@input.name}"  %></h3>

  <p>
    <form name="prefs" action="/save_input_prefs">
      <%= @options_html %>

      <p>
        <%= "Scheduling: "%><br />
        <input type='checkbox' name='day[]' value='MO' /> - Monday <br />
        <input type='checkbox' name='day[]' value='TU' /> - Tuesday <br />
        <input type='checkbox' name='day[]' value='WE' /> - Wednesday <br />
        <input type='checkbox' name='day[]' value='TH' /> - Thursday <br />
        <input type='checkbox' name='day[]' value='FR' /> - Friday <br />
        <input type='checkbox' name='day[]' value='SA' /> - Saturday <br />
        <input type='checkbox' name='day[]' value='SU' /> - Sunday <br />
      </p>
      <p>
        Time: (in 24 hour format, ie 13:05)<br />
        <input type="text" name="time"> <br />
      </p>
      <p>
        First notification: <br />
        <%= calendar_date_select_tag "first_notif", nil, :time => false  %>
      </p>
      <%= hidden_field_tag :output_id, @output.output_id %><%= hidden_field_tag :input_id, @input.input_id %><%= hidden_field_tag :user_module_id, @user_module.id %>
      <p>
        <input type="submit" value="Next">
      </p>

    </form>
  </p>
</div>